#include "ErrorDeConexion.h"


ErrorDeConexion::ErrorDeConexion()
{
	Glib::RefPtr<Gtk::Builder> refBuilder = Gtk::Builder::create();
	refBuilder->add_from_file("./Cliente/ErrorDeConexion.glade");

	refBuilder->get_widget("ErrorDeConexion", main);
	
	refBuilder->get_widget("Aceptar", boton);
	boton->signal_clicked().connect(sigc::mem_fun(*this, &ErrorDeConexion::on_button_clicked));

	main->show_all_children();
}

void ErrorDeConexion::correr() {
	Gtk::Main::run(*main);
}

void ErrorDeConexion::on_button_clicked(){
	main->hide();
}


ErrorDeConexion::~ErrorDeConexion()
{
	
}
